package com.opgea.crm.services;

import java.util.List;

import com.opgea.crm.common.vo.TaskCommentVo;
import com.opgea.crm.common.vo.TaskVo;
import com.opgea.crm.domain.entities.SetupsValue;
import com.opgea.crm.domain.entities.Task;
import com.opgea.crm.domain.entities.security.CrmUser;

public interface TaskService {
    
         public Long createTask(Task task);
	 public void updateTask(Task task);
	 public Long deleteTask(Long taskid);
	 public List<TaskVo> tasksByProjectId(Long projectid,Long priorityId,Long assigntoId,CrmUser user);
	 public List<SetupsValue> allProjectAndMembers(Long projectId);
	 public List<SetupsValue> allProjects();
	 public List<SetupsValue> taskUnits();
	 public Task findTaskById(Long taskId);
	 public List<TaskVo> tasksListByProjectId(Long projectId);
	 public List<TaskCommentVo> findAllCommentsByTaskId(long taskId);
}
